//
//  UIImageView+SIExtension.m
//  CampingLight
//
//  Created by Piccolo on 11/02/2018.
//  Copyright © 2018 SmartIT. All rights reserved.
//

#import "UIImageView+SIExtension.h"

@implementation UIImageView (SIExtension)

- (void)si_setTintColor:(UIColor *)color {
    self.image = [self.image imageWithRenderingMode:color ? UIImageRenderingModeAlwaysTemplate : UIImageRenderingModeAutomatic];
    [self setTintColor:color];
}

@end
